/*
 * @Author: LiJia
 * @Date: 2021-03-09 15:16:06
 * @LastEditTime: 2021-03-09 16:17:41
 * @LastEditors: LiJia
 * @Description: Description
 * @FilePath: \class-manage-system\miniprogram\pages\components\common-modal\common-modal.ts
 */
Component({
  properties: {
    modalConfig: {
      type: Object,
      value: {}
    }
  },
  data: {

  },

  methods: {
    // 用户自定义方法
    handleCancel() {
      this.triggerEvent('modalCancel');
    },
    handleConfirm() {
      this.triggerEvent('modalConfirm');
    }
  }
})
